Skip to content

Conversation

@xIrusux
Copy link
Contributor

@xIrusux xIrusux commented Sep 30, 2025

Changes in this pull request

Resolves #

Additional info

This pull request improves the accessibility and user experience of several dynamic filter field components by ensuring that focus is managed correctly when dropdowns or date pickers are closed. The changes primarily introduce the use of useRef to programmatically return focus to the relevant input controls after interaction.

Accessibility and focus management improvements:

  • Added useRef hooks and assigned refs to the Select components in dynamic-type-field-filter-boolean-select-component.tsx and dynamic-type-field-filter-multiselect-component.tsx, allowing the component to regain focus when the dropdown is closed. [1] [2] [3] [4] [5] [6]
  • Updated the date filter component (dynamic-type-field-filter-date-component.tsx) to use a ref on the containing Flex element and focus it when any associated date picker dropdown is closed, improving keyboard navigation and accessibility. [1] [2] [3] [4] [5]

@xIrusux xIrusux self-assigned this Sep 30, 2025
@sonarqubecloud
Copy link

@xIrusux xIrusux closed this Jan 12, 2026
@xIrusux xIrusux deleted the filter-focus-return branch January 12, 2026 14:27
@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants